package com.zzyq.pc.mongodb.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Id;

/**
 * mongodb数据库 映射对象
 * 
 * @author shengchen
 *
 */
@Entity(value = "dataTables", noClassnameStored = true)
public class MongodbDate implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 数据库主键_id
	 */
	@Id
	private String id;
	/**
	 * 方案ID
	 */
	private String ifmId;
	/**
	 * 新闻ID 每篇文章的唯一标识
	 */
	private String articleId;
	/**
	 * 用来区分文章类型（普通新闻，微博新闻，报告等...）
	 */
	private String articleType;
	/**
	 * 新闻标题，用来显示新闻标题
	 */
	private String title;
	/**
	 * 新闻（微博）地址
	 */
	private String url;
	/**
	 * 新闻（微博）内容
	 */
	private String content;
	/**
	 * 新闻（微博）发布时间
	 */
	private Date releaseTime;
	/**
	 * 新闻阅读量
	 */
	private Integer readNumb;
	/**
	 * 新闻来源
	 */
	private String source;
	/**
	 * 点赞数
	 */
	private Integer pointNum;
	/**
	 * 微博转发量
	 */
	private Integer weiboReprintNumb;
	/**
	 * 微博评论量
	 */
	private Integer weiboCommentNumb;
	/**
	 * 是否转发
	 */
	private Integer weiboIsForward;
	/**
	 * 收藏状态
	 */
	private Integer isCollection;
	/**
	 * 相似标签（数值一样的数据为相似数据）
	 */
	private String groupSign;
	/**
	 * 时间戳
	 */
	private Long timestamp;
	/**
	 * 回复数
	 */
	private Integer replyNumb;
	/**
	 * 微博类型
	 */
	private String weiboType;
	/**
	 * 转发博主
	 */
	private String weiboSourceBlogger;
	/**
	 * 微博转发内容
	 */
	private String weiboSourceContent;
	/**
	 * 博主
	 */
	private String weiboBlogger;
	/**
	 * 微博正文
	 */
	private String weiboContent;
	/**
	 * 排序时间戳
	 */
	private Long sort_timestamp;
	/**
	 * 作者
	 */
	private String author;
	/**
	 * 相似ID
	 */
	private String groupId;
	/**
	 * 相似数
	 */
	private Integer reprintNumb;
	/**
	 * 媒体
	 */
	private String domainName;
	/**
	 * 总数
	 */
	private int count;
	/**
	 * 摘要字段（保留）
	 */
	private String summary;
	/**
	 * 是否原创
	 */
	private boolean original;

	/**
	 * 来源
	 */
	private String websiteName;
	
	/**
	 * 星级
	 */
	private String StarLevel;
	/**
	 * 性质
	 */
	private String Nature;
	/**
	 * 数据集合
	 */
	private List<MongodbDate> dateList;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getIfmId() {
		return ifmId;
	}

	public void setIfmId(String ifmId) {
		this.ifmId = ifmId;
	}

	public String getArticleId() {
		return articleId;
	}

	public void setArticleId(String articleId) {
		this.articleId = articleId;
	}

	public String getArticleType() {
		return articleType;
	}

	public void setArticleType(String articleType) {
		this.articleType = articleType;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getReleaseTime() {
		return releaseTime;
	}

	public void setReleaseTime(Date releaseTime) {
		this.releaseTime = releaseTime;
	}

	public Integer getReadNumb() {
		return readNumb;
	}

	public void setReadNumb(Integer readNumb) {
		this.readNumb = readNumb;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public Integer getPointNum() {
		return pointNum;
	}

	public void setPointNum(Integer pointNum) {
		this.pointNum = pointNum;
	}

	public Integer getWeiboReprintNumb() {
		return weiboReprintNumb;
	}

	public void setWeiboReprintNumb(Integer weiboReprintNumb) {
		this.weiboReprintNumb = weiboReprintNumb;
	}

	public Integer getWeiboCommentNumb() {
		return weiboCommentNumb;
	}

	public void setWeiboCommentNumb(Integer weiboCommentNumb) {
		this.weiboCommentNumb = weiboCommentNumb;
	}

	public Integer getWeiboIsForward() {
		return weiboIsForward;
	}

	public void setWeiboIsForward(Integer weiboIsForward) {
		this.weiboIsForward = weiboIsForward;
	}

	public Integer getIsCollection() {
		return isCollection;
	}

	public void setIsCollection(Integer isCollection) {
		this.isCollection = isCollection;
	}

	public String getGroupSign() {
		return groupSign;
	}

	public void setGroupSign(String groupSign) {
		this.groupSign = groupSign;
	}

	public Long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Long timestamp) {
		this.timestamp = timestamp;
	}

	public Integer getReplyNumb() {
		return replyNumb;
	}

	public void setReplyNumb(Integer replyNumb) {
		this.replyNumb = replyNumb;
	}

	public String getWeiboType() {
		return weiboType;
	}

	public void setWeiboType(String weiboType) {
		this.weiboType = weiboType;
	}

	public String getWeiboSourceBlogger() {
		return weiboSourceBlogger;
	}

	public void setWeiboSourceBlogger(String weiboSourceBlogger) {
		this.weiboSourceBlogger = weiboSourceBlogger;
	}

	public String getWeiboSourceContent() {
		return weiboSourceContent;
	}

	public void setWeiboSourceContent(String weiboSourceContent) {
		this.weiboSourceContent = weiboSourceContent;
	}

	public String getWeiboBlogger() {
		return weiboBlogger;
	}

	public void setWeiboBlogger(String weiboBlogger) {
		this.weiboBlogger = weiboBlogger;
	}

	public String getWeiboContent() {
		return weiboContent;
	}

	public void setWeiboContent(String weiboContent) {
		this.weiboContent = weiboContent;
	}

	public Long getSort_timestamp() {
		return sort_timestamp;
	}

	public void setSort_timestamp(Long sort_timestamp) {
		this.sort_timestamp = sort_timestamp;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public Integer getReprintNumb() {
		return reprintNumb;
	}

	public void setReprintNumb(Integer reprintNumb) {
		this.reprintNumb = reprintNumb;
	}

	public String getDomainName() {
		return domainName;
	}

	public void setDomainName(String domainName) {
		this.domainName = domainName;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public boolean isOriginal() {
		return original;
	}

	public void setOriginal(boolean original) {
		this.original = original;
	}

	public String getWebsiteName() {
		return websiteName;
	}

	public void setWebsiteName(String websiteName) {
		this.websiteName = websiteName;
	}

	public String getStarLevel() {
		return StarLevel;
	}

	public void setStarLevel(String starLevel) {
		StarLevel = starLevel;
	}

	public String getNature() {
		return Nature;
	}

	public void setNature(String nature) {
		Nature = nature;
	}
	public List<MongodbDate> getDateList() {
		return dateList;
	}

	public void setDateList(List<MongodbDate> dateList) {
		this.dateList = dateList;
	}

	@Override
	public String toString() {
		return "MongodbDate [id=" + id + ", ifmId=" + ifmId + ", articleId="
				+ articleId + ", articleType=" + articleType + ", title="
				+ title + ", url=" + url
				+ ", releaseTime=" + releaseTime + ", readNumb=" + readNumb
				+ ", source=" + source + ", pointNum=" + pointNum
				+ ", weiboReprintNumb=" + weiboReprintNumb
				+ ", weiboCommentNumb=" + weiboCommentNumb
				+ ", weiboIsForward=" + weiboIsForward + ", isCollection="
				+ isCollection + ", groupSign=" + groupSign + ", timestamp="
				+ timestamp + ", replyNumb=" + replyNumb + ", weiboType="
				+ weiboType + ", weiboSourceBlogger=" + weiboSourceBlogger
				+ ", weiboSourceContent=" + weiboSourceContent
				+ ", weiboBlogger=" + weiboBlogger + ", weiboContent="
				+ weiboContent + ", sort_timestamp=" + sort_timestamp
				+ ", author=" + author + ", groupId=" + groupId
				+ ", reprintNumb=" + reprintNumb + ", domainName=" + domainName
				+ ", count=" + count + ", summary=" + summary + ", original="
				+ original + ", websiteName=" + websiteName + ", StarLevel="
				+ StarLevel + ", Nature=" + Nature + ", dateList=" + dateList
				+ "]";
	}
	
	/*@Override
	public String toString() {
		return "MongodbDate [id=" + id + ", ifmId=" + ifmId + ", articleId=" + articleId + ", articleType="
				+ articleType + ", title=" + title + ", url=" + url + ", content=" + content + ", releaseTime="
				+ releaseTime + ", readNumb=" + readNumb + ", source=" + source + ", pointNum=" + pointNum
				+ ", weiboReprintNumb=" + weiboReprintNumb + ", weiboCommentNumb=" + weiboCommentNumb
				+ ", weiboIsForward=" + weiboIsForward + ", isCollection=" + isCollection + ", groupSign=" + groupSign
				+ ", timestamp=" + timestamp + ", replyNumb=" + replyNumb + ", weiboType=" + weiboType
				+ ", weiboSourceBlogger=" + weiboSourceBlogger + ", weiboSourceContent=" + weiboSourceContent
				+ ", weiboBlogger=" + weiboBlogger + ", weiboContent=" + weiboContent + ", sort_timestamp="
				+ sort_timestamp + ", author=" + author + ", groupId=" + groupId + ", reprintNumb=" + reprintNumb
				+ ", domainName=" + domainName + ", count=" + count + ", summary=" + summary + ", original=" + original
				+ ", websiteName=" + websiteName + "]";
	}*/

}
